﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using SMSROUTER.Business;
using System.Configuration;
using System.Text;
using System.ComponentModel;

namespace SMSROUTER.UI
{
    public partial class Aquarius : BaseMaster
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            this.Page.MaintainScrollPositionOnPostBack = true;
        }

        protected void lbtnLogout_Click(object sender, EventArgs e)
        {
            try
            {
                UserID = null;
                ReturnURL = Request.RawUrl;
                RedirectToPage(LoginURL);
            }
            catch (Exception ex)
            {
                ScriptManager.RegisterStartupScript(this, this.GetType(), "", "jAlert(\"" + ex.Message.Replace("\"", "'").Replace(Environment.NewLine, "\\n") + "\");", true);
            }
        }

        protected void lbtnChangePassword_Click(object sender, EventArgs e)
        {
            RedirectToPage(ChangePasswordURL);
        }
    }
}